# 导入蓝图对象
from info import redis_store
from . import index_blue


# 使用蓝图对象,实现路由
@index_blue.route('/')
def index():
    # 设置session
    # session['name'] = 'itheima'
    # logging.fatal('this is loging')
    # current_app.logger.error('current error')
    redis_store.set('age', '18')
    return 'HelloWorld'
